/***************************************************************************
 *   Copyright (C) 2007 by saa   *
 *   root@saa   *
 ***************************************************************************/
#ifndef TELNETTHREAD_H
#define TELNETTHREAD_H

#include <QThread>

#include "routeserver.h"
#include "telnetclient.h"

class TelnetThread : public QThread
{
    Q_OBJECT
public:
    TelnetThread(QObject * parent = 0) : QThread(parent) {}
    void run();
    void setTelnetParams(const RouteServer & routeServer) {m_routeServer = routeServer;}
    void setTargetList(const QStringList & targetList) { m_targetList = targetList;}

public slots:
    void quit();
    
private:
    RouteServer m_routeServer;
    QStringList m_targetList;    
};

#endif
